package projetInfo1;

import java.io.Serializable;

public class Data implements Serializable, IData {

	private static final long serialVersionUID = 4902451740257010253L;
	
	private byte[] bytes;
	private int nbLecture;
	
	public Data(byte[] bytes, int nbLectures) {
		this.bytes = bytes;
		this.nbLecture = nbLectures;
	}

	public byte[] getBytes() {
		return bytes;
	}

	public int getNbLecture() {
		return nbLecture;
	}
}
